<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
    <head>
         <meta charset="utf-8">
         <link rel="stylesheet" type="text/css" href="css/base.css">
		 <link rel="stylesheet" type="text/css" href="css/footer.css">
		 <link rel="stylesheet" type="text/css" href="css/common.css">
		 <link rel="stylesheet" type="text/css" href="css/header.css">
		 <link rel="stylesheet" type="text/css" href="css/layout.css">
		 
		 <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
		 <script type="text/javascript" src="js/jquery.tabs.js"></script>
		 <script type="text/javascript" src="js/zhihuijia.js"></script> 
		 <script type="text/javascript" src="js/script.js"></script> 

        <title>搜索列表</title>

        <body>

    <div class="shortcut">
    <div class="w">
        <div class="fl">
     		<c:choose>
				<c:when test="${empty loginUser}">
					<c:redirect url="UserBeforeServlet"></c:redirect>
				</c:when>
				<c:otherwise>
					<span>你好！欢迎:${loginUser.nickname }&nbsp;来到通药集采平台！</span>
					<a href="UserOutServlet">退出</a>
				</c:otherwise>
			</c:choose>
        </div>
        <div class="fr">
            <ul>
                <li class="">
                    <a href="member-order.html">
                        我的订单
                    </a>
                </li>
                <li class="">
                    <a href="ShowOrderServlet">
                        我的集采
                        <i class="caret">
                        </i>
                    </a>
                    <ul style="display: none;">
                        <li>
                            <a href="ShowOrderServlet">
                                采购中心
                            </a>
                        </li>
                        <li>
                            <a href="member-agent-new.html">
                                代理中心
                            </a>
                        </li>
                        <li>
                            <a href="ShowAttentionServlet">
                                关注中心
                            </a>
                        </li>
                        <li>
                            <a href="AccountServlet">
                                设置中心
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="">
                    <a href="">
                        收藏夹
                    </a>
                </li>
                <li class="">
                    <a href="">
                        我是厂家
                    </a>
                </li>
                <li class="">
                    <a href="">
                        客户服务
                    </a>
                </li>
                <li>
                    <a href="">
                        网站导航
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
<!--shortcut end-->
<div class="w clearfix">
    <div class="logo fl">
        <img class="img" src="images/logo.png" alt="">
    </div>
    <div class="fr sea-box">
    <form method="post" action="/medicine/searchgoods">
        <div class="search fl">
            <input type="text" placeholder="搜索您需要的商品" class="search-text" id="keywords" name="keywords">
            <button class="btn btn-warning" target="view_window">
                搜索
            </button>
        </div>
    </form>
        <div class="fr shopping-cart dorpdown J-dorpdown">
            <a href="CartShow" target="view_window" class=" btn btn-danger">
                <i class="procu-ico">
                </i>
                采购单(5)
            </a>
            <div class="dorpdown-layer">
                <div class="settleup-content">
                    <h3 class="tit">
                        新添加商品
                    </h3>
                    <div class="smc">
                        <ul>
                            <li>
                                <div class="od-img fl">
                                    <img class="img" src="images/shop_img.jpg" alt="">
                                </div>
                                <div class="od-name fl">
                                    <a href="">
                                        修正高钙蛋白质粉450g/罐提高免
                                    </a>
                                </div>
                                <div class="od-detail fr ar">
                                    <span class="od-price">
                                        <strong>
                                            ￥239.00
                                        </strong>
                                    </span>
                                    <br>
                                    <a class="detele" href="javascript:void(0)">
                                        删除
                                    </a>
                                </div>
                            </li>
                            <li>
                                <div class="od-img fl">
                                    <img class="img" src="images/shop_img.jpg" alt="">
                                </div>
                                <div class="od-name fl">
                                    <a href="">
                                        修正高钙蛋白质粉450g/罐提高免
                                    </a>
                                </div>
                                <div class="od-detail fr ar">
                                    <span class="od-price">
                                        <strong>
                                            ￥239.00
                                        </strong>
                                    </span>
                                    <br>
                                    <a class="detele" href="javascript:void(0)">
                                        删除
                                    </a>
                                </div>
                            </li>
                            <li>
                                <div class="od-img fl">
                                    <img class="img" src="images/shop_img.jpg" alt="">
                                </div>
                                <div class="od-name fl">
                                    <a href="">
                                        修正高钙蛋白质粉450g/罐提高免
                                    </a>
                                </div>
                                <div class="od-detail fr ar">
                                    <span class="od-price">
                                        <strong>
                                            ￥239.00
                                        </strong>
                                    </span>
                                    <br>
                                    <a class="detele" href="javascript:void(0)">
                                        删除
                                    </a>
                                </div>
                            </li>
                        </ul>
                    </div>
                    <div class="smb ar">
                        <div class="p-total">
                            共
                            <span>
                                8
                            </span>
                            件计件，总金额：
                            <strong>
                                ￥605.00
                            </strong>
                        </div>
                        <a href="CartShow" title="去购物车" class="btn btn-warning btn-s fr">
                            <i class="glyphicon glyphicon-shopping-cart">
                            </i>
                            去结算
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!--searchbox end-->

<div class="nav clearfix">
    <div class="w">
        <div class="navcate fl navCon_on">
            <div class="navCon-cate-title">
                <a href="/medicine/tree?tparent=0">
                    <i class="glyphicon glyphicon-th-list">
                    </i>
                    全部商品分类
                    <span class="caret ">
                    </span>
                </a>
            </div>
        	
            <ul class="cate-menu Js-cateMenu" style="display: none;">
            <c:forEach items="${trees }" var="t">
                <li class="">
                <a href="searchgoods?type_id=${t.tid }">
                        <i class="cat-nav-icon cat-nav-icon1">
                        </i>
                        	${t.tname }
                 </a>	
                    <div class="list-item J-list-item" style="display: none;">
                        <div class="itemleft">
                            <i href="" class="glyphicon glyphicon-remove close">
                            </i>
                            <div>
                            <c:forEach items="${t.children }" var="tc">
                                <dl>
                                    <dt>
                                    <a href="searchgoods?type_id=${tc.tid }" class="sa">
                                       ${tc.tname } 
                                       </a>
                                    </dt>
                                    <dd>
                                     <c:forEach items="${tc.children }" var="tcl">
                                     <a href="searchgoods?type_id=${tcl.tid }" class="sa">
                                       ${tcl.tname }
                                       </a>
                                      </c:forEach>
                                    </dd>
                                </dl>
                               </c:forEach>
                          </div>
                          </div>
          			 </div>
          		</c:forEach>	
           </ul>
           
       </div>
        <!--navcate end-->
        <ul class="nav-item">
            <li>
                <a href="index" data-hover="首页">
                    首页
                </a>
            </li>
            <li>
                <a href="" data-hover="中西成药">
                    中西成药
                </a>
            </li>
            <li>
                <a href="" data-hover="中药材/饮片">
                    中药材/饮片
                </a>
            </li>
            <li>
                <a href="" data-hover="医疗器械">
                    医疗器械
                </a>
            </li>
            <li>
                <a href="">
                    健康产品
                </a>
            </li>
            <li>
                <a href="">
                    厂家专区
                </a>
            </li>
            <li>
                <a href="">
                    附近药店
                </a>
            </li>
        </ul>
        <!--navItem end-->
		 <div class="tel"><i class="glyphicon glyphicon-earphone"></i>400-1066-519</div>
    </div>
</div>
<!--mav end-->

       <script>
        $(function(){
            $
        })
       </script>
    </body>
    </html>   